package com.changgou.goods.dao;

import com.changgou.goods.pojo.Spec;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/****
 * @Author:shenkunlin
 * @Description:Spec的Dao
 * @Date 2019/6/14 0:12
 *****/
public interface SpecMapper extends Mapper<Spec> {
    /**
     * 分类ID->template_id,根据查询规格集合
     *
     * @param categoryId
     * @return
     */
    @Select("")
    List<Spec> findByCategory(Integer categoryId);
}
